using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._AreaandVolume
{
    /// <summary>
    /// <para>Extrude Between</para>
    /// <para>Creates 3D features by extruding each input feature between two triangulated irregular network (TIN) datasets.</para>
    /// <para>通过在两个三角化不规则网络 （TIN） 数据集之间拉伸每个输入要素来创建 3D 要素。</para>
    /// </summary>    
    [DisplayName("Extrude Between")]
    public class ExtrudeBetween : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExtrudeBetween()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_tin1">
        /// <para>Input TIN</para>
        /// <para>The first input TIN.</para>
        /// <para>第一个输入 TIN。</para>
        /// </param>
        /// <param name="_in_tin2">
        /// <para>Input TIN</para>
        /// <para>The second input TIN.</para>
        /// <para>第二个输入 TIN。</para>
        /// </param>
        /// <param name="_in_feature_class">
        /// <para>Input Feature Class</para>
        /// <para>The features that will be extruded between the TINs.</para>
        /// <para>将在 TIN 之间拉伸的特征。</para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Feature Class</para>
        /// <para>The output that will store the extruded features.</para>
        /// <para>将存储拉伸特征的输出。</para>
        /// </param>
        public ExtrudeBetween(object _in_tin1, object _in_tin2, object _in_feature_class, object _out_feature_class)
        {
            this._in_tin1 = _in_tin1;
            this._in_tin2 = _in_tin2;
            this._in_feature_class = _in_feature_class;
            this._out_feature_class = _out_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Extrude Between";

        public override string CallName => "3d.ExtrudeBetween";

        public override List<string> AcceptEnvironments => ["XYDomain", "XYResolution", "XYTolerance", "ZDomain", "ZResolution", "ZTolerance", "autoCommit", "configKeyword", "extent", "geographicTransformations", "outputCoordinateSystem", "workspace"];

        public override object[] ParameterInfo => [_in_tin1, _in_tin2, _in_feature_class, _out_feature_class];

        /// <summary>
        /// <para>Input TIN</para>
        /// <para>The first input TIN.</para>
        /// <para>第一个输入 TIN。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input TIN")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tin1 { get; set; }


        /// <summary>
        /// <para>Input TIN</para>
        /// <para>The second input TIN.</para>
        /// <para>第二个输入 TIN。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input TIN")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tin2 { get; set; }


        /// <summary>
        /// <para>Input Feature Class</para>
        /// <para>The features that will be extruded between the TINs.</para>
        /// <para>将在 TIN 之间拉伸的特征。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_class { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para>The output that will store the extruded features.</para>
        /// <para>将存储拉伸特征的输出。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        public ExtrudeBetween SetEnv(object XYDomain = null, object XYResolution = null, object XYTolerance = null, object ZDomain = null, object ZResolution = null, object ZTolerance = null, int? autoCommit = null, object configKeyword = null, object extent = null, object geographicTransformations = null, object outputCoordinateSystem = null, object workspace = null)
        {
            base.SetEnv(XYDomain: XYDomain, XYResolution: XYResolution, XYTolerance: XYTolerance, ZDomain: ZDomain, ZResolution: ZResolution, ZTolerance: ZTolerance, autoCommit: autoCommit, configKeyword: configKeyword, extent: extent, geographicTransformations: geographicTransformations, outputCoordinateSystem: outputCoordinateSystem, workspace: workspace);
            return this;
        }

    }

}